﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Forest.Lion.Model;

namespace Forest.Lion.Domain.Models {
    public class CandidateDomainModel
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        public int Source { get; set; }

        /// <summary>
        /// 是否已读求职信
        /// </summary>
        public bool IsReadLetter { get; set; }

        /// <summary>
        /// 应聘职位
        /// </summary>
        public Guid? JobPositionId { get; set; }
        public string JobTitle { get; set; }

        /// <summary>
        /// 推荐(来源是“自选”And JobPositionId Not Null)
        /// </summary>
        public bool IsRecommend { get; set; }

        public Guid ResumeId { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string FullName { get; set; }

        /// <summary>
        /// 文字标签
        /// </summary>
        public Guid? TagId { get; set; }
        public string TagName { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? BirthDate { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public int Gender { get; set; }

        /// <summary>
        /// 工作经验
        /// </summary>
        public int? YearsOfExperience { get; set; }
        public string YearsOfExperienceName { get; set; }

        /// <summary>
        /// 教育程度/学历
        /// </summary>
        public int? EducationLevel { get; set; }
        public string EducationLevelName { get; set; }

        /// <summary>
        /// 刷新日期(Resume updatetime)
        /// </summary>
        public DateTime RefreshTime { get; set; }

        /// <summary>
        /// 联系电话(先取手机号，再取座机号)
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 标记
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 保存日期
        /// </summary>
        public DateTime SaveDate { get; set; }
    }
}
